package mapper.imp;

import entity.Per;
import entity.Rol;
import entity.User;

import java.util.List;

public interface PerImp {
    public int insert(Per per);
    public int delete(int id);
    public int update(Per per);
    //查询该权限对应的用户
    public List<User> selectrol(String permission);
    //查询该权限对应的角色
    public List<Rol> selectper(String permission);
}
